package cn.leaf.observer;

/**
*
 * description: people daily service
 *
 * @author twinkle leaf
 * @version v1.0.0
 * @since 2021-07-15 09:41:06
 *
*/
public class PeopleDaily extends WeChatSubscribe {

    private Integer status = 0;

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public void notifyUsers() {
        if (status == 1) {
            users.forEach(WeChatUser::response);
        }
    }
}
